//
//  WBStatusModel.swift
//  CFZWeiBo
//
//  Created by Cedric Zheng on 29/11/2016.
//  Copyright © 2016 Cedric Zheng. All rights reserved.
//

import UIKit
import YYModel

class WBStatusModel: NSObject {
    
    /// 创建时间
    var created_at: String? //代表初始值设为nil
    /// 微博id
    var id: String?
    /// 微博的正文
    var text: String?
    /// 微博的来源
    var source: String?
    /// 图片的模型数组
    var pic_urls: [WBPictureModel]?
    /// 发布人
    var user: WBUser?
    /// 转发微博
    var retweeted_status: WBStatusModel?
    
    class func modelContainerPropertyGenericClass () -> [String: Any] {
        return ["pic_urls": WBPictureModel.self]
    }
    
    override var description: String {
        return yy_modelDescription()
    }
    
}
